package network;

import java.util.*;
import link.*;

class HelloTask extends TimerTask {

	PhysicalLayer pl;
	String myName;

	public HelloTask(PhysicalLayer pl, String name) {
		this.pl = pl;
		this.myName = name;
	}

	public void run() {
		pl.send("ALL:" + myName + ":hello:");
	}
}